import 'package:json_annotation/json_annotation.dart';

part 'todo.g.dart';

@JsonSerializable()
class Todo {
  Todo();

  String? processInstanceId;
  String? processDefinitionName;
  String? submitUserId;
  String? processDefinitionKey;
  String? submitUserName;
  String? submitTime;
  String? planTime;
  String? businessKey;
  String? taskCreateTime;
  String? flowStatusName;
  String? taskName;
  String? taskTitle;
  String? lastHanderUserName;
  String? flowStatus;
  String? taskId;
  String? processInstanceName;
  String? flowType;
  String? taskCompleteTime;
  String? remainingTime;
  
  factory Todo.fromJson(Map<String,dynamic> json) => _$TodoFromJson(json);
  Map<String, dynamic> toJson() => _$TodoToJson(this);
}
